<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	</head>
	<body>
		<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0" style="border:solid 1px #107929">
		  <tr>
		    <td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="1">
		  </tr>
		 
		 
		  <tr>
		  	<td colspan="2" bgcolor="#CEE7BD">订单创建接口</td>
		  </tr>

			<form method="post" action="{:url('api/yop.order/send')}">
		  <tr>
		  	<td align="left">&nbsp;&nbsp;商户订单号</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="mchnt_orderid" id="mchntOrderid"  value="<?php echo $orderId ?>"/>
      	&nbsp;<span style="color:#FF0000;font-weight:100;">*</span></td></tr>
      		
      				  <tr>
		  	<td align="left">&nbsp;&nbsp;订单金额(分)</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="pay_amount" id="payAmount"  value=""/>
      	&nbsp;<span style="color:#FF0000;font-weight:100;">*</span></td></tr>
		       				  <tr>
		  	<td align="left">&nbsp;&nbsp;订单有效期</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="timeout_express" id="timeoutExpress"  value=""/>
      	&nbsp; </td></tr>
     <tr>
		  	<td align="left">&nbsp;&nbsp;请求时间</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="request_date" id="requestDate"  value="<?php echo date("Y-m-d H:i:s",time())  ?>"/> 
		  		&nbsp; <span style="color:#FF0000;font-weight:100;">*</span></td></tr>
		    <tr>
		  	<td align="left">&nbsp;&nbsp;页面回调地址</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="pay_redirectUrl" id="payRedirectUrl"  value=""/>
      	&nbsp; </td></tr>
		  <tr>
		  	<td align="left">&nbsp;&nbsp;服务器回调地址</td>
        <td align="left">&nbsp;&nbsp;<input size="50" type="text" name="pay_callbackurl" id="payBallbackurl"  value="http://39.107.87.17/api/yop/callback/index"/>
      	&nbsp;<span style="color:#FF0000;font-weight:100;">*</span></td></tr>
		  <tr>
		  	<td align="left">&nbsp;&nbsp;商品名称</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="pay_productname" id="payProductname" value="测试商品" />		  		
		  		&nbsp;<span style="color:#FF0000;font-weight:100;">*</span></td>
      </tr>
                            <tr>
		  	<td align="left">&nbsp;&nbsp;商品描述</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="pay_productdesc" id="payProductdesc" value='' />		  		
		  		&nbsp;</td>
      </tr>
      	  	   <tr>
		  	<td align="left">&nbsp;&nbsp;订单时间戳</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="timestamp" id="timestamp"  value="<?php echo time(); ?>"/></td>
      </tr>
      
		  	   <tr>
		  	<td align="left">&nbsp;&nbsp;直连参数/通道类型</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="pay_tradetype" id="payTradetype"  value=""/></td>
      </tr>
 
		  
		  	   <tr>
		  	<td align="left">&nbsp;&nbsp;用户端IP地址</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="client_ip" id="clientIp"  value="127.0.0.1"/>
                            &nbsp;<span style="color:#FF0000;font-weight:100;">*</span></td>
      </tr>
		  		  <tr>
		  	<td align="left">&nbsp;&nbsp;用户标识</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="user_id" id="useId" value="" />		  		
		  		&nbsp;<span style="color:#FF0000;font-weight:100;">*</span></td>
      </tr>
      		  <tr>
		  	<td align="left">&nbsp;&nbsp;用户标识类型</td>
		  	<td align="left">&nbsp;&nbsp;<input size="50" type="text" name="user_type" id="userType" value="" />		  		
		  		&nbsp;<span style="color:#FF0000;font-weight:100;">*</span></td>
      </tr>
		  
		  <tr>
		  	<td align="left">&nbsp;</td>
		  	<td align="left">&nbsp;&nbsp;<input type="submit" value="马上提交" /></td>
      </tr>
    </form>
      <tr>
      	<td height="5" bgcolor="#6BBE18" colspan="2"></td>
      </tr>
      </table></td>
        </tr>
      </table>
	</body>
</html>
